
package de.fhhof.robot.control.app;

/**
 * @author Shamim
 *
 */
public class Application {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		System.out.println("FDZ Control Application is running ");

		final CommandReceiver cmdSource = new CommandReceiver();
		
		final CommandProcessor processor = new CommandProcessor();
		
		/** subscribe the  observer to the event source */
		cmdSource.addObserver(processor);
		
		Thread receiverThread = new Thread(cmdSource,"JSAP receiver thread");
		receiverThread.start();

	}

}
